package org.idea.qiyu.framework.sqlsession.factory.mapping.properties;

/**
 * @Author linhao
 * @Date created in 9:54 下午 2021/5/26
 */
public class DatasourceProperties {

    private String url;

    private String username;

    private String password;

    private String driver;

    private String packageName;

    private String factoryName;

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    @Override
    public String toString() {
        return "DatasourceProperties{" +
                "url='" + url + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", packageName='" + packageName + '\'' +
                ", factoryName='" + factoryName + '\'' +
                '}';
    }
}
